Skip to content

REFACTOR: Change property "desktop_class" to "desktop"#7150

Draft
Devin-Crawford wants to merge 21 commits intomainfrom
refactor/change_desktop_class_name
Draft

REFACTOR: Change property "desktop_class" to "desktop"#7150
Devin-Crawford wants to merge 21 commits intomainfrom
refactor/change_desktop_class_name

Conversation

@Devin-Crawford
Copy link
Contributor

Resolves issue
#6506

Description

The property name desktop_class is confusing since it is a class instance. This PR
changes the name desktop_class to desktop which is much more intuitive and meaningful.
Unit tests are updated and passing.

The private property "_desktop_class" was changed to "_desktop_instance" which is more descriptive.
_odesktop remains unchanged.

Issue linked

#6506

Checklist

  • I have tested my changes locally.
  • I have added necessary documentation or updated existing documentation.
  • I have followed the coding style guidelines of this project.
  • I have added appropriate tests (unit, integration, system).
  • I have reviewed my changes before submitting this pull request.
  • I have linked the issue or issues that are solved by the PR if any.
  • I have agreed with the Contributor License Agreement (CLA).

Resolves issue #6506
Update private property "_desktop_class" to "_desktop_instance".
Update unit tests
@codecov
Copy link

codecov bot commented Jan 25, 2026

Codecov Report

❌ Patch coverage is 2.12766% with 138 lines in your changes missing coverage. Please review.
✅ Project coverage is 21.56%. Comparing base (42ca2af) to head (41e5e71).

Additional details and impacted files
@@             Coverage Diff             @@
##             main    #7150       +/-   ##
===========================================
- Coverage   83.42%   21.56%   -61.87%     
===========================================
  Files         254      253        -1     
  Lines       77735    77656       -79     
===========================================
- Hits        64848    16743    -48105     
- Misses      12887    60913    +48026     
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Devin-Crawford and others added 19 commits February 6, 2026 11:46
- Fix #7202 (incorrect handling of file)
- Remove incorrectly handled debug statements.
- Add unit test when using local repo to test example data.
 cleans up its own directory after teardown, preventing race conditions when pytest-xdist workers tear down module-scoped file_tmp_root while function-scoped fixtures still need the directory.
- Add while loop in test_analyze.py test_3dl_analyze_setup()
… fix/local_example_download

# Conflicts:
#	tests/system/solvers/test_analyze.py
Co-authored-by: Sébastien Morais <146729917+SMoraisAnsys@users.noreply.github.com>
# Conflicts:
#	src/ansys/aedt/core/aedt_logger.py
#	src/ansys/aedt/core/application/design.py
#	src/ansys/aedt/core/desktop.py
#	src/ansys/aedt/core/maxwell.py
#	src/ansys/aedt/core/modeler/cad/primitives.py
#	src/ansys/aedt/core/rpc/rpyc_services.py
#	src/ansys/aedt/core/visualization/advanced/rcs_visualization.py
#	src/ansys/aedt/core/visualization/post/common.py
#	tests/system/general/test_design.py
#	tests/unit/extensions/test_kernel_converter.py
#	tests/unit/extensions/test_version_manager.py
#	tests/unit/test_utils.py
…me' into refactor/change_desktop_class_name

# Conflicts:
#	tests/system/solvers/test_analyze.py
@github-actions github-actions bot added the testing Anything related to testing label Feb 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

extensions testing Anything related to testing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants